import request from "@/common/request.js";
const home = {
  login: "/token/",
  update_password: "/update_password/",
};

const loginAPI = {
  login(data) {
    return request({
      url: home.login,
      method: "post",
      data,
    });
  },

  update_password(data) {
    return request({
      url: home.update_password,
      method: "post",
      data,
    });
  },
};
export default loginAPI;
